
$(function(){
    $(".nav-right .nav-right-pad").hover(
        function(){
            $(this).css({"background":"#fff","border-bottom": "1px solid #fff"});
            $(this).attr("class","dropup");
            $(this).children(".nav-right-pos").addClass("nav-bor");
            $(this).children(".nav-right-poss").addClass("nav-bor");
            $(this).children(".nav-right-pos").css({"display": "block"});
            $(this).children(".nav-right-poss").css({"display": "block"});

        },
        function(){
            $(this).css({"background":"#f2f2f2","border-bottom": "1px solid #e5e5e5"});
            $(this).attr("class","dropdown");
            $(this).children(".nav-right-pos").removeClass("nav-bor");
            $(this).children(".nav-right-poss").removeClass("nav-bor");
            $(this).children(".nav-right-pos").css({"display": "none"});
            $(this).children(".nav-right-poss").css({"display": "none"});

        }
    );
    $(".nav-right .nav-po").hover(
        function(){
            $(this).children(".nav-po-stion").css({"display": "block"});

        },
        function(){
            $(this).children(".nav-po-stion").css({"display": "none"});

        }
    )
});
